package day02;
//数据类型展示
public class DataTypeDemo {
    public static void main(String[] args) {
   /*
    //    int aa;
    //    int a,b;
        int a=10;
        int b;
        b=100;
        int g=1;
        int h;
        h=g+10;
        System.out.println(h);
        g=g+10;
        System.out.println(g);
        //正确的变量名：
        int  a1;
        int  a_1;
        int  $_1;
        int $1;
        int  _1;
        //不正确的变量名；
     int 1a;
        int 1_2;
        int —；

        int aa=15,bb=4;
        System.out.println(aa/bb);
        int cc=1000000000;
        int dd=2100000000;
        System.out.println(cc+dd);
        long e=1234567890*45678798;
        long f=1234567890L*45678798;
        System.out.println(e);
        System.out.println(f);

        double h=21.65,g=3.14159265357,i=56.63;
         System.out.println(i-h);

         boolean v=true,k=false;
         boolean m=3+5<1;
         System.out.println(v);
         System.out.println(m);
         */

         char n='A';
         char o='6',p='a',q='我',r=' ';
       /*  System.out.println(n);
        System.out.println(o);
        System.out.println(p);
        System.out.println(q);

        System.out.println(q);
        int a=1000;
        long j=a;
        int k=(int)j;
        long s =120000000000L;
        int t=(int)s;
        System.out.println(t);
        */
        byte b1=10;
        byte b2=100;
        byte b3=(byte) (b1+b2);
      //  System.out.println(b3);
        System.out.println(b1+'a'); //107
        System.out.println(b1+b2);  //110
        System.out.println(b2+2);   //102
        System.out.println(b1+100+'2'); //110

     /*
        System.out.println(2+2);
        System.out.println('2'+'2');
        System.out.println(2+'2');
        System.out.println('2');
        System.out.println('2'+2);

     int a = 5;
    long c=a;
  // System.out.println(c);
   int b=(int)c;
  // System.out.println(b);
   long f = 100000000000L;
  // int e=f;
  // System.out.println(e);
        double e=34.9678;
        int i = (int)e;
        System.out.println(i);
        System.out.println('2'+'2');

   */



















     // char s='a';
     /* char a='5';
      char b='我';
      char c='是';
      System.out.println(b+""+c);
      char e=67;
      System.out.println(e);

      */
















       /* boolean a=true,b=false;
        System.out.println(a+""+b);

        */































  /*  double a=3.1;
    double b=2.89;
    System.out.println(a-b);
    double c=3.1415926,d=4.1415927;
    System.out.println(d-c);

   */






















        /*  long a;
    a=10000000000L*648*10;
    System.out.println(a);
    long b=648L*654654648*648*648*444648*1000000L;
    System.out.println(b);
    long  c = 100000000*66*669L;
    System.out.println(c);

   */





















































    /*  int q;
      int a=25;
      int s= 250;
      System.out.println(s);
      System.out.printIn(5/2);


     */
    }
}
